package com.ruoyi.security.service;

import java.util.List;
import com.ruoyi.security.domain.AfExtinguisher;

/**
 * 灭火器台账Service接口
 * 
 * @author felix
 * @date 2022-02-28
 */
public interface IAfExtinguisherService {
    /**
     * 查询灭火器台账
     * 
     * @param id 灭火器台账ID
     * @return 灭火器台账
     */
     AfExtinguisher selectAfExtinguisherById(String id);

    /**
     * 查询灭火器台账列表
     * 
     * @param afExtinguisher 灭火器台账
     * @return 灭火器台账集合
     */
     List<AfExtinguisher> selectAfExtinguisherList(AfExtinguisher afExtinguisher);

    /**
     * 新增灭火器台账
     * 
     * @param afExtinguisher 灭火器台账
     * @return 结果
     */
     int insertAfExtinguisher(AfExtinguisher afExtinguisher);

    /**
     * 修改灭火器台账
     * 
     * @param afExtinguisher 灭火器台账
     * @return 结果
     */
     int updateAfExtinguisher(AfExtinguisher afExtinguisher);

    /**
     * 批量删除灭火器台账
     * 
     * @param ids 需要删除的灭火器台账ID
     * @return 结果
     */
     int deleteAfExtinguisherByIds(String[] ids);

    /**
     * 删除灭火器台账信息
     * 
     * @param id 灭火器台账ID
     * @return 结果
     */
     int deleteAfExtinguisherById(String id);
}
